package site.yunnong.atvris.common.enumeration;

/**
 * @author zjh
 * @date 2021/7/11 12:40
 */
public enum UserEducationEnum {

    UN_KNOWN(-1, "未知"),
    PRIMARY_SCHOOL(0, "小学"),
    JUNIOR_MIDDLE_SCHOOL(1, "初中"),
    HIGH_SCHOOL(2, "高中"),
    JUNIOR_COLLEGE(3, "大专"),
    UNDER_GRADUATE(4, "本科"),
    MASTER(5, "硕士"),
    DOCTOR_OR_ABOVE(6, "博士及以上");


    private Integer value;

    private String name;
    UserEducationEnum(Integer value, String desc) {
        this.value =value;
        this.name = desc;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
